﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ToDoWorkOrder.aspx.cs" Inherits="CRM.Web.MainManage.ToDoWorkOrder" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="<%= base.ResourcesPath + "Style/mainpage.css" %>" rel="stylesheet" type="text/css" />
    <link href="<%= base.ResourcesPath + "Style/button.css" %>" rel="stylesheet" type="text/css" />
    <style type="text/css">
   html
    {
        
    }
    body
    {
        background-image:url();        
        background-color: #f9f9f9;
    }
    </style>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/jquery-1.6.2.min.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/My97DatePicker/WdatePicker.js"  defer="defer" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/MaskTextBox.js"  ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/Common.js"  ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/button.js" ></script>
</head>
<body>
    <form id="form1" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" id="mainTable">
        <tr>
	    <td class="mainleft">
	        <img src="<%= base.ResourcesPath %>Images/title_left.gif" alt="" />
	    </td>
	    <td class="mainmiddle">

        <div class="pagetitle">
            <div><asp:Label ID="lblTitle" runat="server" >待办业务信息</asp:Label></div>
        </div>
    	
	    </td>
	    <td class="mainright">
	        <img src="<%= base.ResourcesPath %>Images/title_right.gif" alt="" />
	    </td>
        </tr>
    </table>
     <div id="mainDiv"  >
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td style="width: auto; padding: 10px 15px 0px 15px; ">
                    <div class="maindiv">
                        <dp:WebGridView ID="gvListRepair" runat="server" CssClass="gridview" 
                            AutoGenerateColumns="False" OnRowCreated="gvList_RowCreated" 
                            OnRowDataBound="gvList_RowDataBound" OnRowDeleting="gvList_RowDeleting"  
                             PageSize="5" PageTags="PageRepair" Width="100%" 
                            SortExpressionValue="CASEID" SortDirectionValue="DESC" >
                            <Columns>
			                    <asp:TemplateField HeaderText="工单编号">
                                    <ItemTemplate>
                                        <asp:HyperLink id="hlModify1" runat="server" NavigateUrl='<%# Eval("CASEID", RepairCaseModifyUrl) %>' Target="frameMain" Text='<%# Bind("CASEID") %>'></asp:HyperLink> 
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="客户代码">
                                    <ItemTemplate>
                                        <asp:HyperLink id="hlModify2" runat="server" NavigateUrl='<%# Eval("CASEID", RepairCaseModifyUrl) %>' Target="frameMain" Text='<%# Bind("CUSTOMERID") %>'></asp:HyperLink>
                                    </ItemTemplate>
                                </asp:TemplateField>
			                    <asp:TemplateField HeaderText="客户姓名">
                                    <ItemTemplate>
                                        <asp:HyperLink id="hlModify3" runat="server" NavigateUrl='<%# Eval("CASEID", RepairCaseModifyUrl) %>' Target="frameMain" Text='<%# Bind("CUSTOMERNAME") %>'></asp:HyperLink>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="处理状态">
                                    <ItemTemplate>
                                        <asp:HyperLink id="hlModify4" runat="server" NavigateUrl='<%# Eval("CASEID", RepairCaseModifyUrl) %>' Target="frameMain" Text='<%# Bind("STATUS") %>'></asp:HyperLink>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>	
                            <RowStyle CssClass="row" />
                            <AlternatingRowStyle CssClass="row2" />
                            <HeaderStyle CssClass="header" />	
                            <PagerStyle CssClass="pager" />	
                        </dp:WebGridView>
                    </div>
                    <div class="maindiv">
                        <dp:WebGridView ID="gvListConsulting" runat="server" CssClass="gridview" AutoGenerateColumns="False" OnRowCreated="gvList_RowCreated" OnRowDataBound="gvList_RowDataBound" OnRowDeleting="gvList_RowDeleting" 
                             PageSize="5"  Width="100%" SortExpressionValue="CASEID" SortDirectionValue="DESC"  >
                            <Columns>                            
			                    <asp:TemplateField HeaderText="工单编号">
                                    <ItemTemplate>
                                        <asp:HyperLink id="hlModify1" runat="server" NavigateUrl='<%# Eval("CASEID", ConsultingCaseModifyUrl) %>' Target="frameMain" Text='<%# Bind("CASEID") %>'></asp:HyperLink> 
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="客户代码">
                                    <ItemTemplate>
                                        <asp:HyperLink id="hlModify2" runat="server" NavigateUrl='<%# Eval("CASEID", ConsultingCaseModifyUrl) %>' Target="frameMain" Text='<%# Bind("CUSTOMERID") %>'></asp:HyperLink>
                                    </ItemTemplate>
                                </asp:TemplateField>
			                    <asp:TemplateField HeaderText="客户姓名">
                                    <ItemTemplate>
                                        <asp:HyperLink id="hlModify3" runat="server" NavigateUrl='<%# Eval("CASEID", ConsultingCaseModifyUrl) %>' Target="frameMain" Text='<%# Bind("CUSTOMERNAME") %>'></asp:HyperLink>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="处理状态">
                                    <ItemTemplate>
                                        <asp:HyperLink id="hlModify4" runat="server" NavigateUrl='<%# Eval("CASEID", ConsultingCaseModifyUrl) %>' Target="frameMain" Text='<%# Bind("STATUS") %>'></asp:HyperLink>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>	
                            <RowStyle CssClass="row" />
                            <AlternatingRowStyle CssClass="row2" />
                            <HeaderStyle CssClass="header" />	
                            <PagerStyle CssClass="pager" />	
                        </dp:WebGridView>
                    </div>
                    <div class="maindiv">
                        <dp:WebGridView ID="gvListComplaint" runat="server" CssClass="gridview" AutoGenerateColumns="False" OnRowCreated="gvList_RowCreated" OnRowDataBound="gvList_RowDataBound" OnRowDeleting="gvList_RowDeleting" 
                             PageSize="5" Width="100%" SortExpressionValue="CASEID"  SortDirectionValue="DESC" >
                            <Columns>
			                    <asp:TemplateField HeaderText="工单编号">
                                    <ItemTemplate>
                                        <asp:HyperLink id="hlModify1" runat="server" NavigateUrl='<%# Eval("CASEID", ComplaintCaseModifyUrl) %>' Target="frameMain" Text='<%# Bind("CASEID") %>'></asp:HyperLink> 
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="客户代码">
                                    <ItemTemplate>
                                        <asp:HyperLink id="hlModify2" runat="server" NavigateUrl='<%# Eval("CASEID", ComplaintCaseModifyUrl) %>' Target="frameMain" Text='<%# Bind("CUSTOMERID") %>'></asp:HyperLink>
                                    </ItemTemplate>
                                </asp:TemplateField>
			                    <asp:TemplateField HeaderText="客户姓名">
                                    <ItemTemplate>
                                        <asp:HyperLink id="hlModify3" runat="server" NavigateUrl='<%# Eval("CASEID", ComplaintCaseModifyUrl) %>' Target="frameMain" Text='<%# Bind("CUSTOMERNAME") %>'></asp:HyperLink>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="处理状态">
                                    <ItemTemplate>
                                        <asp:HyperLink id="hlModify4" runat="server" NavigateUrl='<%# Eval("CASEID", ComplaintCaseModifyUrl) %>' Target="frameMain" Text='<%# Bind("STATUS") %>'></asp:HyperLink>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>	
                            <RowStyle CssClass="row" />
                            <AlternatingRowStyle CssClass="row2" />
                            <HeaderStyle CssClass="header" />	
                            <PagerStyle CssClass="pager" />	
                        </dp:WebGridView>
                    </div>
            </td>
        </tr>
    </table>
    <br />
    </div>
    </form>
</body>
</html>
